<div class="adside-sub medium-12 column">
    <div class="medium-1 column" style="padding:0;">
        <h5 style="color:white;">Company</h5>
    </div>
    <div class="adsubh medium-11 column">
        <ul class="inline-list">
            <?php if($admin_info->approve == "on"){ ?> 
            <li><a href="<?=BASE_URI?>admin/pendingcompany">Pending</a></li>
            <?php } ?>
            <li><a href="<?=BASE_URI?>admin/suspendedcompany">Suspended</a></li>
            <li><a href="<?=BASE_URI?>admin/reportedcompany">Reported</a></li>
            <li><a href="<?=BASE_URI?>admin/suggestedEdits">Suggested Edits</a></li>
        </ul>
    </div>
</div>
<?php
    if(@$page_name=='pendingCompany') {
        $this->view->partial('admin-common/company-pending');    
    }
    if(@$page_name=='suspendedCompany') {
        $this->view->partial('admin-common/company-suspended');    
    }
    if(@$page_name=='reportedCompany') {
        $this->view->partial('admin-common/company-reported');    
    }
    if(@$page_name=='adminCompany') {
        $this->view->partial('admin-common/company-table');    
    }
    if(@$page_name=='suggestedEdits') {
        $this->view->partial('admin-common/company-edit');    
    }
?>

<div>   
    <?php $this->view->partial('admin-modal/user'); ?>
</div>

